import request from '@/utils/request';

interface FetchLoginProps {
  email: string;
  password: string;
}
export const fetchIndex = () => {
  return request('/index', {
    method: 'GET',
    params: {
      sales: 1,
      recommend: 1,
      new: 1,
    },
  });
};
